package com.vhall.component.entity.vote.vo.room;

import com.vhall.component.framework.common.annotation.ParamName;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.PositiveOrZero;
import java.io.Serializable;

/**
 * @author longzhen.gong
 * @date 2021/7/7 11:40
 */
@Data
public class VotesListRoomReqVO implements Serializable {


    private static final long serialVersionUID = -6099212174152275439L;

    private String keyword;

    @PositiveOrZero(message = "page参数错误")
    @NotNull(message = "page参数错误")
    private Integer page;

    @ParamName("page_size")
    private Integer pagesize;
    /**
     * 房间ID
     */
    @ParamName("room_id")
    private String roomId;
    /**
     * 用户ID
     */
    @ParamName("account_id")
    private String accountId;

    private Integer publish;
    /**
     * 是否发布，1是0否
     */
    @ParamName("is_publish")
    private Integer isPublish;
    /**
     * 是否是公开投票，1是0否，默认是
     */
    @ParamName("is_public")
    private Integer isPublic;

    @ParamName("is_release")
    private Integer isRelease;

    @ParamName("is_finish")
    private Integer isFinish;

    @ParamName("from_room_id")
    private String fromRoomId;

    @ParamName("start_time")
    private String beginTime;

    @ParamName("end_time")
    private String endTime;

    private Integer type;

    @ParamName("answer_account_id")
    private Integer answerAccountId;

}
